exp
Type
function
Summary
Returns the natural exponential of a number.
Syntax
the exp of <number>
exp(<number>)
Description
Use the exp function to obtain a power of e, e^ number.
The transcendental number e appears in many mathematical formulas.
If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.
Parameters
Name | Type | Description |
---|---|---|
number | A real number, or an expression that evaluates to a number. |
Examples
exp(1) -- returns e
exp(theReturnedValue)
Related
function: sqrt, exp10, ln, exp2, baseConvert, exp1
glossary: return, math operation
operator: caret
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile